{template nheader.html}

<form class="form-horizontal" action="" method="post" id="myform" name="myform">
    <input name="ja" value="1" type="hidden">
    <div class="page-bar">
        <ul class="page-breadcrumb mylink">
            {$menu.link}
        </ul>
        <ul class="page-breadcrumb myname">
            {$menu.name}
        </ul>
        <div class="page-toolbar">
            <div class="btn-group pull-right">
                <button type="button" class="btn green btn-sm btn-outline dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> {fc_lang('操作菜单')}
                    <i class="fa fa-angle-down"></i>
                </button>
                <ul class="dropdown-menu pull-right" role="menu">
                    {loop $menu.quick $t}
                    <li>
                        <a href="{$t.url}">{$t.icon} {$t.name}</a>
                    </li>
                    {/loop}
                    <li class="divider"> </li>
                    <li>
                        <a href="javascript:window.location.reload();">
                            <i class="icon-refresh"></i> {fc_lang('刷新页面')}</a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <h3 class="page-title">
        <small></small>
    </h3>
    <div class="portlet light bordered myfbody">

        <div class="portlet-title">
            <div class="caption">
                <span class="caption-subject font-green">{fc_lang('批量改价格')}</span>
            </div>
        </div>
        <div class="portlet-body">

            <div class="row">
                <div class="portlet-body form">

                    <div class="form-group">
                        <label class="col-md-2 control-label">{fc_lang('商品')}：</label>
                        <div class="col-md-9">
                               {$field}
                            <span class="help-block" >如果不选择商品的情况下，就表示批量修改全部商品</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">{fc_lang('类型')}：</label>
                        <div class="col-md-9">
                            <div class="radio-list">
                                {loop $type $i $n}
                                <label class="radio-inline"><input type="radio" name="data[type]" /> {$n}</label>
                                {/loop}
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">{fc_lang('变动值')}：</label>
                        <div class="col-md-9">
                            <label><select class="form-control"name="data[fs]">
                                <option selected value="1">固定值</option>
                                <option value="2">百分比</option>
                            </select></label>
                            <label><input class="form-control" type="text"  name="data[vaue]"></label>

                        </div>
                    </div>

                    <div class="form-body">
                        <div class="form-actions">
                            <div class="row">
                                <div class="col-md-12 text-center">
                                    <button type="button"  onclick="dr_cmf_ajax_submit('{dr_now_url()}', 'myform')" class="btn green"> <i class="fa fa-rmb"></i> {fc_lang('执行改价操作')}</button>
                                </div>
                            </div>
                        </div>
                    </div>


                </div>
            </div>
        </div>
    </div>


</form>

{template nfooter.html}